package com.wowudi.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "drug_record")
public class DrugRecord {
    /**
     * 记录ID
     */
    @TableId(value = "dr_id", type = IdType.AUTO)
    private Integer drId;

    /**
     * 药品ID
     */
    @TableField(value = "d_id")
    private Integer dId;

    /**
     * 数量
     */
    @TableField(value = "dr_number")
    private Integer drNumber;

    /**
     * 出入库时间
     */
    @TableField(value = "dr_create_time")
    private Date drCreateTime;

    /**
     * 出入库状态-y/n
     */
    @TableField(value = "dr_status")
    private String drStatus;

    public static final String COL_DR_ID = "dr_id";

    public static final String COL_D_ID = "d_id";

    public static final String COL_DR_NUMBER = "dr_number";

    public static final String COL_DR_CREATE_TIME = "dr_create_time";

    public static final String COL_DR_STATUS = "dr_status";
}